numbers = list(range(1, 1_000_000))

# for n in numbers:
#     print(n)

print(min(numbers))
print(max(numbers))
print(sum(numbers))
